﻿/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 2016/5/17
 * Time: 21:29
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace SharpErp.Data.Common.Entity
{
	/// <summary>
	/// Description of CustomerThirdClass.
	/// </summary>
	[Serializable]
	[Table("customer_third_class")]
	public class CustomerThirdClass : BaseEntity
	{
        [Column("id")]
		public int Id{get;set;}
        [Column("parent_id")]
		public int ParentId{get;set;}
        [Column("member_code")]
		public string MemberCode{get;set;}
        [Column("name")]
		public string Name{get;set;}
        [Column("level")]
		public string Level{get;set;}
        [Column("score")]
		public double Score{get;set;}
        [Column("deduct_rate")]
		public double DeductRate{get;set;}
        [Column("deduct_money")]
		public int DeductMoney{get;set;}
        [Column("phone")]
		public string Phone{get;set;}
        [Column("mobile")]
		public string Mobile{get;set;}
        [Column("qq")]
		public string QQ{get;set;}
        [Column("wechat")]
        public String Wechat { get; set; }
        [Column("email")]
		public string Email{get;set;}
        [Column("qichu")]
		public int QiChu{get;set;}
        [Column("xianchu")]
		public int XianChu{get;set;}
        [Column("yingfu")]
		public int YingFu{get;set;}
        [Column("qiankuan")]
		public int QianKuan{get;set;}
        [Column("zhifubao")]
		public string ZhiFuBao{get;set;}
        [Column("bank_account")]
		public string BankAccount{get;set;}
        [Column("bank_name")]
		public string BankName{get;set;}
        [Column("address")]
		public string Address{get;set;}
        [Column("attribute")]
		public int Attribute{get;set;}
        [Column("freedesign")]
        public string FreeDesign { get; set; }
        [Column("freepost")]
        public string FreePost { get; set; }
        [Column("freesetup")]
        public string FreeSetup { get; set; }
        [Column("selfget")]
        public string SelfGet { get; set; }
	}
}
